package com.gudaomai.wuye.service;

import java.util.List;

import com.gudaomai.wuye.entity.CommRegion;
import com.gudaomai.wuye.service.BaseService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zenghualu
 * @since 2017-09-01
 */
public interface ICommRegionServ extends BaseService<CommRegion> {

	// 根据区域编号判断是否存在
	boolean isExist(String code);
	
	// 根据区域编号判断是否有效
	boolean isValid(String code);

	//Show all CommRegion with type house 
	List<CommRegion> getAllCommHouse();
	
	//Show all CommRegion with type park
	List<CommRegion> getAllCommPark();
	
	//Show all CommRegion with type store
	List<CommRegion> getAllCommStore();

}
